package com.doordu.serviceregistry;

import org.springframework.cloud.client.serviceregistry.ServiceRegistry;
import org.springframework.context.ApplicationContext;

/**
 * 与服务注册中心签订注册和注销实例的合同。
 *
 * @author zxw
 * @date 2020/8/27 15:17
 */
public class EurekaServiceRegistry implements ServiceRegistry<EurekaRegistration> {


    @Override
    public void register(EurekaRegistration registration) {

    }

    @Override
    public void deregister(EurekaRegistration registration) {

    }

    @Override
    public void close() {

    }

    @Override
    public void setStatus(EurekaRegistration registration, String status) {

    }

    @Override
    public <T> T getStatus(EurekaRegistration registration) {
        return null;
    }
}
